
// 打印顶部内容模板
export const getTopHtml = (param) => {
  return `
 
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>

  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

  <title></title>
  <meta name="generator" content="LibreOffice 5.4.7.2 (Linux)"/>
  <meta name="author" content="samwuu"/>
  <meta name="created" content="2013-04-30T14:00:15"/>
  <meta name="changedby" content="SamWuu"/>
  <meta name="changed" content="2021-06-11T03:21:01"/>
  <meta name="Company" content="rate"/>
  <meta name="ICV" content="EC89AAC0EB534F5BB4CBFC95F1EB5777"/>
  <meta name="KSOProductBuildVer" content="2052-11.1.0.10495"/>

  <style type="text/css">
    body, div, table, thead, tbody, tfoot, tr, th, td, p {
      font-family: "SimSun"
    }

    a.comment-indicator:hover + comment {
      background: #ffd;
      position: absolute;
      display: block;
      border: 1px solid black;
      padding: 0.5em;
    }

    a.comment-indicator {
      background: red;
      display: inline-block;
      border: 1px solid black;
      width: 0.5em;
      height: 0.5em;
    }

    comment {
      display: none;
    }

    .borderAll {
      border-top: 1px solid #000000;
      border-bottom: 1px solid #000000;
      border-left: 1px solid #000000;
      border-right: 1px solid #000000;
  text-align:center
    }
  </style>

</head>

<body>
<table cellspacing="0" border="0"  >
   <colgroup width="80"></colgroup>
   <colgroup span="2" width="120"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
   <colgroup width="100"></colgroup>
  <tr>
    <td colspan=12 height="50"  style="font-weight:bold;text-align:center"><font face="SimSun" size=6>
    名朗五金制品有限公司 <b style="font-weight:bold">负责人计时登记表</b>
    </td>
  </tr>
    <tr>
    <td  height="40" colspan=12 >
    ${param.logo}
<!-- <img src='http://s.rate.cn/spoda.png' width=60 height=43 hspace=86 vspace=3/>-->

</td>
   
  </tr>
   
  <tr>
    <td class="borderAll" height="40" colspan=4 >所属部门:${param.form.deptName}</td>
    <td class="borderAll" colspan=4  >工序或者其他事由:${param.form.processName}</td>
    <td class="borderAll" colspan=4  >日期:${param.form.finishDate}</td>
  </tr>
  <tr  >
    <td class="borderAll" height="40" colspan=8  align="left" >负责人姓名:${param.form.memberName}</td>
    <td class="borderAll" colspan=4  >计时（小时）:${param.form.finishHours}</td>
  </tr>
    
  <tr style="font-weight:bold">
    <td class="borderAll" height="25"  >序号</td>
    <td class="borderAll" colspan=2  >订单编码</td>
    <td class="borderAll" >工序</td>
    <td class="borderAll">材质及规格尺寸</td>
    <td class="borderAll" >部件品牌</td>
    <td class="borderAll" >号数</td>
    <td class="borderAll"  >类别</td>
    <td class="borderAll"  >重量(KG)</td>
     <td class="borderAll"  >围数</td>
    <td class="borderAll"  >数量(支)</td>
    <td class="borderAll" >备注</td>
  </tr>
 ${param.itemList}
</table>
<!-- ************************************************************************** -->
</body>

</html>

        `
}

